﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000EB9 RID: 3769
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueCommonRemoveKeyword : IMessage<RogueCommonRemoveKeyword>, IMessage, IEquatable<RogueCommonRemoveKeyword>, IDeepCloneable<RogueCommonRemoveKeyword>, IBufferMessage
	{
		// Token: 0x17002FC8 RID: 12232
		// (get) Token: 0x0600A8DB RID: 43227 RVA: 0x001C7D84 File Offset: 0x001C5F84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueCommonRemoveKeyword> Parser
		{
			get
			{
				return RogueCommonRemoveKeyword._parser;
			}
		}

		// Token: 0x17002FC9 RID: 12233
		// (get) Token: 0x0600A8DC RID: 43228 RVA: 0x001C7D8B File Offset: 0x001C5F8B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueCommonRemoveKeywordReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002FCA RID: 12234
		// (get) Token: 0x0600A8DD RID: 43229 RVA: 0x001C7D9D File Offset: 0x001C5F9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueCommonRemoveKeyword.Descriptor;
			}
		}

		// Token: 0x0600A8DE RID: 43230 RVA: 0x001C7DA4 File Offset: 0x001C5FA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueCommonRemoveKeyword()
		{
		}

		// Token: 0x0600A8DF RID: 43231 RVA: 0x001C7DAC File Offset: 0x001C5FAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueCommonRemoveKeyword(RogueCommonRemoveKeyword other) : this()
		{
			this.keywordId_ = other.keywordId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A8E0 RID: 43232 RVA: 0x001C7DD1 File Offset: 0x001C5FD1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueCommonRemoveKeyword Clone()
		{
			return new RogueCommonRemoveKeyword(this);
		}

		// Token: 0x17002FCB RID: 12235
		// (get) Token: 0x0600A8E1 RID: 43233 RVA: 0x001C7DD9 File Offset: 0x001C5FD9
		// (set) Token: 0x0600A8E2 RID: 43234 RVA: 0x001C7DE1 File Offset: 0x001C5FE1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KeywordId
		{
			get
			{
				return this.keywordId_;
			}
			set
			{
				this.keywordId_ = value;
			}
		}

		// Token: 0x0600A8E3 RID: 43235 RVA: 0x001C7DEA File Offset: 0x001C5FEA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueCommonRemoveKeyword);
		}

		// Token: 0x0600A8E4 RID: 43236 RVA: 0x001C7DF8 File Offset: 0x001C5FF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueCommonRemoveKeyword other)
		{
			return other != null && (other == this || (this.KeywordId == other.KeywordId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A8E5 RID: 43237 RVA: 0x001C7E28 File Offset: 0x001C6028
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.KeywordId != 0U)
			{
				num ^= this.KeywordId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A8E6 RID: 43238 RVA: 0x001C7E67 File Offset: 0x001C6067
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A8E7 RID: 43239 RVA: 0x001C7E6F File Offset: 0x001C606F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A8E8 RID: 43240 RVA: 0x001C7E78 File Offset: 0x001C6078
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.KeywordId != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.KeywordId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A8E9 RID: 43241 RVA: 0x001C7EAC File Offset: 0x001C60AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.KeywordId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KeywordId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A8EA RID: 43242 RVA: 0x001C7EEA File Offset: 0x001C60EA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueCommonRemoveKeyword other)
		{
			if (other == null)
			{
				return;
			}
			if (other.KeywordId != 0U)
			{
				this.KeywordId = other.KeywordId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A8EB RID: 43243 RVA: 0x001C7F1B File Offset: 0x001C611B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A8EC RID: 43244 RVA: 0x001C7F24 File Offset: 0x001C6124
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 120U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.KeywordId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004487 RID: 17543
		private static readonly MessageParser<RogueCommonRemoveKeyword> _parser = new MessageParser<RogueCommonRemoveKeyword>(() => new RogueCommonRemoveKeyword());

		// Token: 0x04004488 RID: 17544
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004489 RID: 17545
		public const int KeywordIdFieldNumber = 15;

		// Token: 0x0400448A RID: 17546
		private uint keywordId_;
	}
}
